﻿using System.ComponentModel.DataAnnotations;
using EPiServer;
using EPiServer.DataAnnotations;

namespace StarterKit.Web.Models.Blocks
{
    /// <summary>
    /// Used to insert a link which is styled as a button
    /// </summary>
    [ContentType(
        DisplayName = "Button Block",
        Description = "Button Block Description",
        GroupName = "Default",
        Order = 100)]
    public class ButtonBlockData : BaseBlockData
    {
        [Display(Order = 1)]
        public virtual string ButtonText { get; set; }

        [Display(Order = 2)]
        public virtual Url ButtonLink { get; set; }
    }
}